package com.lvy.hczn.transmit.domain.dto.cteck;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 发货单明细
 *
 * @author yw
 * @date 2023-06-07 13:48:41
 **/
@Data
public class InvoiceBll implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "零售控价 0：关闭，1开启")
    private Integer retailControl;

    @ApiModelProperty(value = "生产商日期")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date producerDate;

    @ApiModelProperty(value = "货箱编码")
    private String containerCode;

    @ApiModelProperty(value = "商品分类id")
    private String categoryId;

    @ApiModelProperty(value = "补货单编码")
    private String replenishmentPurchaseCode;

    @ApiModelProperty(value = "供货价")
    private BigDecimal costPrice;

    @ApiModelProperty(value = "商品编码")
    private String productSysCode;

    @ApiModelProperty(value = "销售属性")
    private String salesAttr;

    @ApiModelProperty(value = "温区id")
    private String temperAreaId;

    @ApiModelProperty(value = "商品名称")
    private String productName;

    @ApiModelProperty(value = "重量")
    private BigDecimal heavy;

    @ApiModelProperty(value = "发货单据编码")
    private String invoiceCode;

    @ApiModelProperty(value = "体积")
    private BigDecimal volume;

    @ApiModelProperty(value = "仓库编码")
    private String repId;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "商品数量")
    private Integer goodsNumber;

    @ApiModelProperty(value = "商品主图")
    private String imgUrl;

    @ApiModelProperty(value = "生产商名称")
    private String producerName;

    @ApiModelProperty(value = "保质期")
    private Integer warrantyDate;

    @ApiModelProperty(value = "零售价")
    private BigDecimal marketPrice;

    @ApiModelProperty(value = "生产商id")
    private String producerId;

    @ApiModelProperty(value = "sku")
    private String barcodeSysCode;

    @ApiModelProperty(value = "来源")
    private String sourceId;

    @ApiModelProperty(value = "货箱类型id")
    private String containerId;

    @ApiModelProperty(value = "销售属性值")
    private String dataType;

    @ApiModelProperty(value = "规格编码")
    private String specCode;

    @ApiModelProperty(value = "是否大件 0:否 ，1:是")
    private Integer bigProduct;

    @ApiModelProperty(value = "商品规格")
    private String specification;
}